<?php
/**
 * Created by JetBrains PhpStorm.
 * User: thanh
 * Date: 4/14/12
 * Time: 9:12 PM
 * To change this template use File | Settings | File Templates.
 */
class ProductCatList extends CPortlet
{
    public function init()
    {
        //$this->title=CHtml::encode(Yii::app()->user->name);
        parent::init();
    }

    protected function renderContent()
    {
        $cat = ProductCat::model()->findAll('status=1');
        $this->render('product_cat_lit',array('cat'=>$cat));
    }

}
